//
//  JKCommunicateViewController.swift
//  ZhiHuDaily-Swift
//
//  Created by albert on 2018/3/14.
//  Copyright © 2018年 安永博. All rights reserved.
//

import UIKit

class JKCommunicateViewController: JKBaseViewController {

    @IBOutlet weak var QQLabel: UILabel!
    @IBOutlet weak var weChatLabel: UILabel!
    @IBOutlet weak var eMailLabel: UILabel!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        if #available(iOS 11.0, *) {
            
        } else {
            
            tableViewPlain.scrollIndicatorInsets = tableViewPlain.contentInset
        }
    }
    
    // MARK: - 点击事件
    
    override func navBackButtonClick() {
        
        let mainNav = navigationController as! JKMainNavigationController
        
        if mainNav.showLeftVcBlock != nil {
            
            mainNav.showLeftVcBlock!()
        }
    }

    @IBAction func wechatPay(_ sender: Any) {
        
        JKImageBrowserView.showWith(image: UIImage(named: "wx.jpg"))
    }
    
    @IBAction func aliPay(_ sender: Any) {
        
        JKImageBrowserView.showWith(image: UIImage(named: "zfb.jpg"))
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
